package com.doujiao.core.auth.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 管理员组权限创建DTO
 *
 * @author wuyunbin
 * @since 2025-05-24
 */
@Data
@Schema(description = "管理员组权限创建参数")
public class AdminGroupPermissionCreateDTO {

    @NotNull(message = "管理员组ID不能为空")
    @Schema(description = "管理员组ID", required = true)
    private Long groupId;

    @NotEmpty(message = "权限列表不能为空")
    @Schema(description = "权限标识列表", required = true)
    private List<String> permissions;
}
